import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// element - ui 库
import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'
Vue.use(ElementUI)

// vant - ui 库
import 'vant/lib/index.css'
import Vant from 'vant'
Vue.use(Vant)

// leaflet样式
import '../src/styles/index.scss'
import CustomUI from '../src/index'
import { init } from './config'

Vue.use(CustomUI)

init(() => {
    new Vue({
        render: h => h(App),
    }).$mount('#app')
})
